<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<!--                                                               -->
<!-- Consider inlining CSS to reduce the number of requested files -->
<!--                                                               -->
<link type="text/css" rel="stylesheet" href="Gescip.css">

<!--                                           -->
<!-- Any title is fine                         -->
<!--                                           -->
<title>GESCIP</title>
<!--CSS for loading message at application Startup-->
<style type="text/css">
body {
	overflow: hidden
}

#loading {
	border: 1px solid #ccc;
	position: absolute;
	left: 45%;
	top: 40%;
	padding: 2px;
	z-index: 20001;
	height: auto;
}

#loading a {
	color: #225588;
}

#loading .loadingIndicator {
	background: white;
	font: bold 13px tahoma, arial, helvetica;
	padding: 10px;
	margin: 0;
	height: auto;
	color: #444;
}

#loadingMsg {
	font: normal 10px arial, tahoma, sans-serif;
}
</style>
<!-- IMPORTANT : You must set the variable isomorphicDir to [MODULE_NAME]/sc/ so that the SmartGWT resource are correctly resolved -->
<script> var isomorphicDir = "gescip/sc/"; </script>
</head>

<!--                                           -->
<!-- The body can have arbitrary html, or      -->
<!-- you can leave the body empty if you want  -->
<!-- to create a completely dynamic UI.        -->
<!--                                           -->
<body>

<!-- OPTIONAL: include this if you want history support -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
	style="position: absolute; width: 0; height: 0; border: 0"></iframe>


<!--add loading indicator while the app is being loaded-->
<div id="loadingWrapper">
<div id="loading">
<div class="loadingIndicator"><!--<img src="images/pieces/48/cube_green.gif" width="32" height="32" style="margin-right:8px;float:left;vertical-align:top;"/>SmartGWT<br/>-->
<img src="imagenes/loading.gif" width="32" height="32"
	style="margin-right: 8px; float: left; vertical-align: top;" />GESCIP<br />
<span id="loadingMsg">Cargando estilos e imágenes...</span></div>
</div>
</div>



<script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Cargando Core API...';</script>

<!--include the SC Core API-->
<script src=gescip/sc/modules/ISC_Core.js?isc_version=7.0beta.js></script>

<!--include SmartClient -->
<script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Cargando componentes UI...';</script>
<script src=gescip/sc/modules/ISC_Foundation.js?isc_version=7.0beta.js></script>
<script src=gescip/sc/modules/ISC_Containers.js?isc_version=7.0beta.js></script>
<script src=gescip/sc/modules/ISC_Grids.js?isc_version=7.0beta.js></script>
<script src=gescip/sc/modules/ISC_Forms.js?isc_version=7.0beta.js></script>
<script
	src=gescip/sc/modules/ISC_RichTextEditor.js?isc_version=7.0beta.js></script>
<script src=gescip/sc/modules/ISC_Calendar.js?isc_version=7.0beta.js></script>
<script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Cargando datos del API...';</script>
<script src=gescip/sc/modules/ISC_DataBinding.js?isc_version=7.0beta.js></script>

<script>
function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

// Determine what skin file to load
var currentSkin = readCookie('skin'); 
if (currentSkin == null) currentSkin = "Enterprise";
</script>

<!--load skin-->
<script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Cargando templates...';</script>

<script type="text/javascript">
document.write("<"+"script src=gescip/sc/skins/" + currentSkin + "/load_skin.js?isc_version=7.0beta.js><"+"/script>");
</script>

<!--include the application JS-->
<script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Cargando aplicación <br>Porfavor espere...';</script>
<!--                                           -->
<!-- This script loads your compiled module.   -->
<!-- If you add any GWT meta tags, they must   -->
<!-- be added before this line.                -->
<!--                                           -->
<script type="text/javascript" language="javascript"
	src="gescip/gescip.nocache.js"></script>

</body>
</html>
